package com.zhentao.enums.admin;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName ad_oper_log
 */
@TableName(value ="ad_oper_log")
@Data
public class AdOperLog implements Serializable {
    /**
     * 主键ID
     */
    @TableId(value = "id")
    private Integer id;

    /**
     * 用户唯一表示
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 操作人
     */
    @TableField(value = "operator")
    private String operator;

    /**
     * 角色
     */
    @TableField(value = "role")
    private String role;

    /**
     * 操作类型
     */
    @TableField(value = "operation_type")
    private Integer operationType;

    /**
     * 操作时间
     */
    @TableField(value = "operation_time")
    private Date operationTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
